home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / PRG / LOBE.src.sit / LOBE.src / README 1.0 < prev    next >
Text File  |  1994-12-20  |  2KB  |  20 lines

  1. Less Obnoxious Bus Error 1.0
  2.  
  3. Less Obnoxious Bus Error (LOBE) is a cdev that replaces EvenBetterBusError. Like ebbe, it stuffs $50ff8001 into address 0, thus catching all dereferences of 0. In addition, LOBE stuffs this magic value into 4, thus catching a few more bad programs. The big change with LOBE is you can change LOBE's behavior when it detects a write to 0 or 4. You can have it call DebugStr and stop (typical ebbe behavior), call DebugStr and go (less obnoxious), or just ignore the writes (for those times when you have to demo your broken applications to you manager).
  4.  
  5. I should mention that switching the behavior does not involve rebooting. Just select the behavior you want from the control panel. Your new selection will take effect immediately. And when I say immediately, I mean immediately. You don't even need to close the control panel.
  6.  
  7. Notice that you cannot turn off the writting of the magic value into 0. This is actually a bizarre limitation in the system software.
  8.  
  9. Full source is included so you can modifiy LOBE to your hearts content. If you do something cool with it, let me know. 
  10.  
  11. Be warned: This is not a good example of how to write a cdev. The original code predates the Gestalt manager, so I had to do icky things to make the controls instantly affect the INIT's behavior.
  12.  
  13. Charlie Reiman
  14. creiman@netcom.com
  15. reiman@kaleida.com
  16. Dec 20, 1994
  17.  
  18. This document and all included source code are public domain, except where noted in the individual files. (cdev.c is from DTS and ShowIcon7.c is from James W. Walker) 
  19.  
  20.